package com.giacom.docx4j.plugin.impl;

/**
 * 
 * Representacao de um campo da entidade
 * 
 * @author sandro.giacomozzi
 *
 */
public class EntityField {

	/**
	 * Nome do Atributo
	 */
	private String name;
	
	/**
	 * Tipo do Atributo
	 */
	private String type;
	
	/**
	 * Tamanho
	 */
	private String size;
	
	/**
	 * Descrição
	 */
	private String description;
	
	/**
	 * Obrigatorio
	 */
	private boolean required;

	
	public boolean isRequired() {
		return required;
	}

	public void setRequired(boolean required) {
		this.required = required;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
}
